package com.shopoo.oauth.domain.repository;

import java.util.List;

/**
 * @Description:
 * @Auther: limy66
 * @Date: 2021/05/12/10:51
 */
public interface PowerCacheRepository {

    /**
     * @Description: 清空缓存中所有角色的菜单权限
     * @Author: limy66
     * @Date:   2021/5/12 10:52
     * @Param:  []
     * @Return: void
     */
    void removeAllRoleMenus();

    /**
     * @Description: 将所有角色的菜单权限缓存起来
     * @Author: limy66
     * @Date:   2021/5/12 10:53
     * @Param:  [list]
     * @Return: void
     */
    void cacheAllRoleMenus(List<String> list);
}
